package org.example.model.exhibitor.pojos;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Date;
import java.sql.Timestamp;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("exhibitor")
public class Exhibitor {
    @TableId(value = "exhibitor_id",type = IdType.INPUT)
    @ColumnWidth(20)
    @ExcelProperty(value = "展商id")
    private Integer pkId;//展商id
    private String brand;
    @ColumnWidth(20)
    @ExcelProperty(value = "品牌链接")
    private String logoLink;
    @ColumnWidth(20)
    @ExcelProperty(value = "视频链接")
    private String videoLink;
    @ColumnWidth(20)
    @ExcelProperty(value = "新闻链接1")
    private String newsLink1;
    @ColumnWidth(20)
    @ExcelProperty(value = "新闻链接2")
    private String newsLink2;
    @ColumnWidth(20)
    @ExcelProperty(value = "新闻链接3")
    private String newsLink3;
    @ColumnWidth(20)
    @ExcelProperty(value = "展商介绍")
    private String productInfo;

    @ExcelIgnore
    private Date createTime;

    @ExcelIgnore
    private Date updateTime;
}
